package br.com.JZSolution.domineduplex.gui.menu.editar;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JMenuItem;

import br.com.JZSolution.domineduplex.gui.dialogos.PreferenciasDialogo;

public class PreferenciasMenuItem extends JMenuItem {
	
	public PreferenciasMenuItem(String nome){
		this.setText(nome);
		this.addActionListener(new ActionListener(){
			@Override
			public void actionPerformed(ActionEvent e) {
				new PreferenciasDialogo();
			}
		});
	}
	
}
